public class TeacherSub1 extends Teacher{

    public TeacherSub1(String name, int age, String post, double salary) {
        super(name, age, post, salary);
    }
    @Override
    public void introduce(){
        System.out.println(this.getName()+"\t\t"+this.getAge()+"\t\t"+this.getPost()+"\t\t"+this.getSalary());
    }
}
